var isNS=false;
var isIE=true;
if (navigator.appName == "Microsoft Internet Explorer") isIE=true;
if (navigator.appName == "Netscape") {isIE=false;isNS=true;}
function insert_snapshot(host)
{
  var m_isSendSnapshot = 1;


	var ss = '';
	ss += '<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="0" HEIGHT="0" codebase="http://'+host+':80/download/jre-6u2-windows-i586-p-iftw.exe" MAYSCRIPT>';
	ss += '<param name="CODE" value="Snapshot.class">';
	ss += '<param name="CODEBASE" value="lib/snapshot">';
	ss += '<param name="ARCHIVE" value="snapshot.jar">';
	ss += '<PARAM NAME="funcMame" VALUE="getSnapshotParam" >';
  ss += '<PARAM NAME="title" VALUE="53KF 截图" >';
	ss += '<PARAM NAME="host" VALUE="'+host+'" >';
  ss += '<PARAM NAME="isSend" VALUE="'+m_isSendSnapshot+'" >';
  ss += '<PARAM NAME="timeout" VALUE="10000" >';
	ss += '<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">';
	ss += '<EMBED type="application/x-java-applet;version=1.3" ';
  ss += ' CODE="Snapshot.class" ';
  ss += ' CODEBASE="lib/snapshot" ';
  ss += ' ARCHIVE="js.jar,snapshot.jar?20090804" ';
  ss += ' funcMame="getSnapshotParam" ';
  ss += ' title="53KF 截图" ';
  ss += ' host="'+host+'" ';
  ss += ' isSend="'+m_isSendSnapshot+'" ';
  ss += ' timeout="10000" ';
  ss += ' WIDTH="0" ';
  ss += ' HEIGHT="0" ';
  ss += ' pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html" MAYSCRIPT></EMBED>';
  ss += '</OBJECT>';
  document.getElementById('plugin_snapshot').innerHTML=ss;
  //alert("aaaaaaaaa");

}

